﻿using QSocket.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QSocket.Server
{
    public class Server
    {
        private ServerBase server;

        public Server()
        {
            try
            {
                server = TcpServer.GetServer();
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }

        ~Server()
        {
            this.server.StopServer();
        }
    }
}
